package org.nudt.common.repository

import org.nudt.common.model.User
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.JpaSpecificationExecutor
import java.util.*

interface UserRepository : JpaRepository<User, Int>, JpaSpecificationExecutor<User> {
    fun findByAppid(appid: String): Optional<User>
}